package com.yz.xyt.service;

import com.github.pagehelper.PageInfo;
import com.yz.xyt.domain.ResponseResult;
import com.yz.xyt.domain.Staff;
import com.yz.xyt.domain.vo.StaffImportVo;
import com.yz.xyt.domain.vo.StaffVo;

import java.util.List;

public interface IStaffService {
    int deleteByPrimaryKey(Integer staffId);

    int insert(Staff record);

    int insertSelective(Staff record);

    Staff selectByPrimaryKey(Integer staffId);

    int updateByPrimaryKeySelective(Staff record);

    int updateByPrimaryKey(Staff record);

    int updateByStaffNumberSelective(Staff record);

    Staff findByStaffNumber(String staffNumber);

    int deleteByStaffNumber(String staffNumber);

    void syncAddStaff(List<Staff> lists);

    void syncUpdateStaff(List<Staff> lists);

    void syncDeleteStaff(List<Staff> lists);

    PageInfo findStaffForPage(StaffVo staffVo);

    StaffVo findStaffInfo(String staffNumber);

    String findStaffNumberByName(String staffName);

    List<Staff> convertStaff(List<StaffImportVo> staffList);

    List<Staff> getInstructorList();

    ResponseResult editStaff(Staff staff);

    ResponseResult deleteByStaff(Staff staff);

    ResponseResult addStaff(Staff staff);

    ResponseResult queryStaffInfo(StaffVo staffVo);
}
